﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Admin.Core.Dto;
using ZhonTai.Industry.Contracts.Core.Record;
using ZhonTai.Industry.Services.AlarmRecord.Dto.Input;
using ZhonTai.Industry.Services.AlarmRecord.Dto.Output;

namespace ZhonTai.Industry.Services.AlarmRecord
{
    /// <summary>
    /// 告警监控服务
    /// </summary>
    public interface IAlarmRecordService
    {
        /// <summary>
        /// 分页查询
        /// </summary>
        Task<PageOutput<AlarmRecordGetPageOutput>> GetPageAsync(PageInput<AlarmRecordGetPageInput> input);

        /// <summary>
        /// 报警存储
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task AddMoreAsync(List<AlarmMessage> input);
    }
}